<!DOCTYPE html>
<html>
  <head>
  <meta charset='UTF-8'>
  <title>Atom API Documentation</title>
  <link rel='stylesheet' href='../assets/biscotto.css' type='text/css'>
  <script src='../assets/biscotto.js'></script>
  <script src='../assets/search_data.js'></script>
</head>
  <body>
    <div id='base' data-path='..&#47;'></div>
<div id='header'>
  <div id='menu'>
    <a href='../docs/README.md.html' title='Atom'>Atom</a>
    &raquo;
    <a href='../class_index.html' title='Index'>Index</a>
    &raquo;
    <span class='title'>Editor</span>
    <nav>
      <ul>
        <li class='noframes'>
          (<a class='noframes' href='Editor.html#'>no frames</a>)
        </li>
      </ul>
    </nav>
    <div id='search'>
      <a id='class_list_link' href='../class_list.html'>Classes</a>
      <a id='file_list_link' href='../file_list.html'>Files</a>
      <a id='method_list_link' href='../method_list.html'>Methods</a>
      <a id='extra_list_link' href='../extra_list.html'>Extras</a>
    </div>
  </div>
  <iframe id='search_frame'></iframe>
  <div id='fuzzySearch'>
    <input type='text'>
    <ol></ol>
  </div>
  <div id='help'>
    <p>
      Quickly fuzzy find classes, mixins, methods, file:
    </p>
    <ul>
      <li>
        <span>Ctrl-T</span>
        Open fuzzy finder dialog
      </li>
    </ul>
    <p>
      In frame mode you can toggle the list naviation frame on the left side:
    </p>
    <ul>
      <li>
        <span>Ctrl-L</span>
        Toggle list view
      </li>
    </ul>
    <p>
      You can focus a list in frame mode or toggle a tab in frameless mode:
    </p>
    <ul>
      <li>
        <span>Ctrl-C</span>
        Class list
      </li>
      <li>
        <span>Ctrl-I</span>
        Mixin list
      </li>
      <li>
        <span>Ctrl-F</span>
        File list
      </li>
      <li>
        <span>Ctrl-M</span>
        Method list
      </li>
      <li>
        <span>Ctrl-E</span>
        Extras list
      </li>
    </ul>
    <p>
      You can focus and blur the search input:
    </p>
    <ul>
      <li>
        <span>Ctrl-S</span>
        Focus search input
      </li>
      <li>
        <span>Esc</span>
        Blur search input
      </li>
    </ul>
    <p>
      In frameless mode you can close the list tab:
    </p>
    <ul>
      <li>
        <span>Esc</span>
        Close list tab
      </li>
    </ul>
  </div>
</div>
    <div id='content'>
      <h1>
        Class
        Editor
      </h1>
      <div class='stability-1'>
        <span class='heading'></span>
        <div class='message'></div>
      </div>
      <table class='box'>
        <tr>
          <td>Defined in:</td>
          <td>src&#47;editor.coffee</td>
        </tr>
        <tr>
          <td>Inherits:</td>
          <td>
            <a href='http://atom.io/docs/api/v0.60.0/api/classes/Model.html'>Model</a>
          </td>
        </tr>
      </table>
      <h2>Overview</h2>
      <div class='docstring'>
  <p>The core model of Atom.</p><p>An <a href='Editor.html'>Editor</a> represents a unique view of each document, with its own
<a href='Cursor.html'>Cursor</a>s and scroll position.</p><p>For instance if a user creates a split, Atom creates a second <a href='Editor.html'>Editor</a>
but both <a href='Editor.html'>Editor</a>s interact with the same buffer underlying buffer. So
if you type in either buffer it immediately appears in both but if you scroll
in one it doesn&#39;t scroll the other.</p><p>Almost all packages will interact primiarily with this class as it provides
access to objects you&#39;ll most commonly interact with. To access it you&#39;ll
want to register a callback on <a href='WorkspaceView.html'>WorkspaceView</a> which will be fired once for every
existing <a href='Editor.html'>Editor</a> as well as any future <a href='Editor.html'>Editor</a>s.</p><h2 id="example">Example</h2>
<pre><code class="lang-coffeescript">  atom.workspaceView.eachEditorView (editorView) -&gt;
    editorView.insertText(&#39;Hello World&#39;)
</code></pre>

</div>
<div class='tags'>
</div>
      <h2>Instance Method Summary</h2>
      <ul class='summary'>
  <li>
    <span class='signature'>
      <a href='Editor.html#addCursor-instance'>
        ::<strong>addCursor</strong>(marker)
      </a>
    </span>
    <span class='desc'>
      Adds and returns a cursor at the given <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a> position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addCursorAtBufferPosition-instance'>
        ::<strong>addCursorAtBufferPosition</strong>(bufferPosition)
      </a>
    </span>
    <span class='desc'>
      Adds and returns a cursor at the given buffer position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addCursorAtScreenPosition-instance'>
        ::<strong>addCursorAtScreenPosition</strong>(screenPosition)
      </a>
    </span>
    <span class='desc'>
      Adds and returns a cursor at the given screen position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addSelection-instance'>
        Selection ::<strong>addSelection</strong>(marker, options = {})
      </a>
    </span>
    <span class='desc'>
      Creates a new selection at the given marker.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addSelectionAbove-instance'>
        ::<strong>addSelectionAbove</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves each local selection up one row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addSelectionBelow-instance'>
        ::<strong>addSelectionBelow</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves each local selection down one row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#addSelectionForBufferRange-instance'>
        Selection ::<strong>addSelectionForBufferRange</strong>(bufferRange, options = {})
      </a>
    </span>
    <span class='desc'>
      Given a buffer range, this adds a new selection for it.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#autoIndentSelectedRows-instance'>
        ::<strong>autoIndentSelectedRows</strong>()
      </a>
    </span>
    <span class='desc'>
      Indents selected lines based on grammar&#39;s suggested indent levels.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#backspace-instance'>
        ::<strong>backspace</strong>()
      </a>
    </span>
    <span class='desc'>
      Removes the character found behind the current cursor position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#backspaceToBeginningOfLine-instance'>
        ::<strong>backspaceToBeginningOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Removes all characters from the current cursor position to the start of the line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#backspaceToBeginningOfWord-instance'>
        ::<strong>backspaceToBeginningOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Removes all characters from the current cursor position until the beginging of the current word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#bufferRangeForBufferRow-instance'>
        Range ::<strong>bufferRangeForBufferRow</strong>(row, options)
      </a>
    </span>
    <span class='desc'>
      Returns the range for the given buffer row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#bufferRangeForScopeAtCursor-instance'>
        ::<strong>bufferRangeForScopeAtCursor</strong>(selector)
      </a>
    </span>
    <span class='desc'>
      ?
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#clearSelections-instance'>
        ::<strong>clearSelections</strong>()
      </a>
    </span>
    <span class='desc'>
      Clears every selection.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#clipBufferPosition-instance'>
        Point ::<strong>clipBufferPosition</strong>(bufferPosition)
      </a>
    </span>
    <span class='desc'>
      Given a position, this clips it to a real position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#clipBufferRange-instance'>
        Range ::<strong>clipBufferRange</strong>(range)
      </a>
    </span>
    <span class='desc'>
      Given a range, this clips it to a real range.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#copySelectedText-instance'>
        ::<strong>copySelectedText</strong>()
      </a>
    </span>
    <span class='desc'>
      Copies the selected text.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#cutSelectedText-instance'>
        ::<strong>cutSelectedText</strong>()
      </a>
    </span>
    <span class='desc'>
      Cuts the selected text.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#cutToEndOfLine-instance'>
        ::<strong>cutToEndOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Copies and removes all characters from cursor to the end of the line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#delete-instance'>
        ::<strong>delete</strong>()
      </a>
    </span>
    <span class='desc'>
      Removes the current selection or the next character after the cursor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#deleteLine-instance'>
        ::<strong>deleteLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Deletes the entire line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#deleteToEndOfWord-instance'>
        ::<strong>deleteToEndOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Removes all characters from the cursor until the end of the current word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#destroyFoldsIntersectingBufferRange-instance'>
        ::<strong>destroyFoldsIntersectingBufferRange</strong>(bufferRange)
      </a>
    </span>
    <span class='desc'>
      Removes any <a href='http://atom.io/docs/api/v0.60.0/api/classes/Fold.html'>Fold</a>s found that intersect the given buffer row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#destroyMarker-instance'>
        ::<strong>destroyMarker</strong>(id)
      </a>
    </span>
    <span class='desc'>
      Removes the marker with the given id.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#duplicateLine-instance'>
        ::<strong>duplicateLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Duplicates the current line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#findMarkers-instance'>
        ::<strong>findMarkers</strong>(attributes)
      </a>
    </span>
    <span class='desc'>
      Returns all <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a>s that match all given attributes.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#foldCurrentRow-instance'>
        ::<strong>foldCurrentRow</strong>()
      </a>
    </span>
    <span class='desc'>
      Folds the current row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#foldSelection-instance'>
        ::<strong>foldSelection</strong>()
      </a>
    </span>
    <span class='desc'>
      Folds all selections.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCurrentParagraphBufferRange-instance'>
        ::<strong>getCurrentParagraphBufferRange</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the text of the most recent local cursor&#39;s surrounding paragraph.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursor-instance'>
        ::<strong>getCursor</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the most recently added <a href='Cursor.html'>Cursor</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursorBufferPosition-instance'>
        Array ::<strong>getCursorBufferPosition</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets the current buffer position of the most recently added <a href='Cursor.html'>Cursor</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursorScopes-instance'>
        Array ::<strong>getCursorScopes</strong>()
      </a>
    </span>
    <span class='desc'>
      Retrieves the grammar&#39;s token scopes for the line with the most recently added cursor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursorScreenPosition-instance'>
        Array ::<strong>getCursorScreenPosition</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets the current screen position of the most recently added local <a href='Cursor.html'>Cursor</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursorScreenRow-instance'>
        Number ::<strong>getCursorScreenRow</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets the screen row of the most recently added local <a href='Cursor.html'>Cursor</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getCursors-instance'>
        ::<strong>getCursors</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns an Array of all local <a href='Cursor.html'>Cursor</a>s.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getLastBufferRow-instance'>
        ::<strong>getLastBufferRow</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the last zero-indexed buffer row number of the editor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getLastSelection-instance'>
        ::<strong>getLastSelection</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the most recently added <a href='Selection.html'>Selection</a>
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getLastSelectionInBuffer-instance'>
        Selection ::<strong>getLastSelectionInBuffer</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets the very last local selection in the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getLineCount-instance'>
        ::<strong>getLineCount</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the number of lines in the editor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getLongTitle-instance'>
        String ::<strong>getLongTitle</strong>()
      </a>
    </span>
    <span class='desc'>
      Retrieves the filename and path of the open file.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getMarker-instance'>
        ::<strong>getMarker</strong>(id)
      </a>
    </span>
    <span class='desc'>
      Returns a valid <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a> object for the given id.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getMarkerCount-instance'>
        Number ::<strong>getMarkerCount</strong>()
      </a>
    </span>
    <span class='desc'>
      Get the number of markers in this editor&#39;s buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getMarkers-instance'>
        ::<strong>getMarkers</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns all <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a>s.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelectedBufferRange-instance'>
        ::<strong>getSelectedBufferRange</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the buffer <a href='Range.html'>Range</a> of the most recently added local <a href='Selection.html'>Selection</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelectedBufferRanges-instance'>
        ::<strong>getSelectedBufferRanges</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets an Array of buffer <a href='Range.html'>Range</a>s of all the local <a href='Selection.html'>Selection</a>s.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelectedScreenRange-instance'>
        ::<strong>getSelectedScreenRange</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the screen <a href='Range.html'>Range</a> of the most recently added local <a href='Selection.html'>Selection</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelectedText-instance'>
        ::<strong>getSelectedText</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the selected text of the most recently added local <a href='Selection.html'>Selection</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelection-instance'>
        ::<strong>getSelection</strong>(index)
      </a>
    </span>
    <span class='desc'>
      Returns the selection at the specified index.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelections-instance'>
        Array ::<strong>getSelections</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets all local selections.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSelectionsOrderedByBufferPosition-instance'>
        Array ::<strong>getSelectionsOrderedByBufferPosition</strong>()
      </a>
    </span>
    <span class='desc'>
      Gets all local selections, ordered by their position in the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSoftWrap-instance'>
        ::<strong>getSoftWrap</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns whether soft wrap is enabled or not.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getSoftWrapColumn-instance'>
        ::<strong>getSoftWrapColumn</strong>()
      </a>
    </span>
    <span class='desc'>
      Sets the column at which columsn will soft wrap
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getTabLength-instance'>
        ::<strong>getTabLength</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns the current tab length.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getTabText-instance'>
        ::<strong>getTabText</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns that String used to indicate a tab.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getText-instance'>
        ::<strong>getText</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> representing the entire contents of the editor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getTextInBufferRange-instance'>
        ::<strong>getTextInBufferRange</strong>(range)
      </a>
    </span>
    <span class='desc'>
      Returns the text within a given a buffer <a href='Range.html'>Range</a>
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getTextInRange-instance'>
        ::<strong>getTextInRange</strong>(range)
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of text in the given <a href='Range.html'>Range</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getTitle-instance'>
        String ::<strong>getTitle</strong>()
      </a>
    </span>
    <span class='desc'>
      Retrieves the filename of the open file.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getUri-instance'>
        ::<strong>getUri</strong>()
      </a>
    </span>
    <span class='desc'>
      Retrieves the current buffer&#39;s URI.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#getWordUnderCursor-instance'>
        ::<strong>getWordUnderCursor</strong>(options)
      </a>
    </span>
    <span class='desc'>
      Returns the word under the most recently added local <a href='Cursor.html'>Cursor</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#hasMultipleCursors-instance'>
        ::<strong>hasMultipleCursors</strong>()
      </a>
    </span>
    <span class='desc'>
      Determines if there are multiple cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#indent-instance'>
        ::<strong>indent</strong>(options = {})
      </a>
    </span>
    <span class='desc'>
      Indents the current line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#indentLevelForLine-instance'>
        Number ::<strong>indentLevelForLine</strong>(line)
      </a>
    </span>
    <span class='desc'>
      Returns the indentation level of the given line of text.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#indentSelectedRows-instance'>
        ::<strong>indentSelectedRows</strong>()
      </a>
    </span>
    <span class='desc'>
      Indents the currently selected rows.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#indentationForBufferRow-instance'>
        ::<strong>indentationForBufferRow</strong>(bufferRow)
      </a>
    </span>
    <span class='desc'>
      Returns the indentation level of the given a buffer row
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#insertNewline-instance'>
        ::<strong>insertNewline</strong>()
      </a>
    </span>
    <span class='desc'>
      Inserts a new line at the current cursor positions.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#insertNewlineAbove-instance'>
        ::<strong>insertNewlineAbove</strong>()
      </a>
    </span>
    <span class='desc'>
      Inserts a new line above the current cursor positions.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#insertNewlineBelow-instance'>
        ::<strong>insertNewlineBelow</strong>()
      </a>
    </span>
    <span class='desc'>
      Inserts a new line below the current cursor positions.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#insertText-instance'>
        ::<strong>insertText</strong>(text, options = {})
      </a>
    </span>
    <span class='desc'>
      Inserts text at the current cursor positions
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#isBufferRowCommented-instance'>
        ::<strong>isBufferRowCommented</strong>(bufferRow)
      </a>
    </span>
    <span class='desc'>
      Determine if the given row is entirely a comment
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#isEqual-instance'>
        Boolean ::<strong>isEqual</strong>(other)
      </a>
    </span>
    <span class='desc'>
      Compares two <code>Editor</code>s to determine equality.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#isFoldedAtBufferRow-instance'>
        ::<strong>isFoldedAtBufferRow</strong>(bufferRow)
      </a>
    </span>
    <span class='desc'>
      Returns whether a given buffer row if folded
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#isFoldedAtCursorRow-instance'>
        ::<strong>isFoldedAtCursorRow</strong>()
      </a>
    </span>
    <span class='desc'>
      Returns whether the current row is folded.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#isFoldedAtScreenRow-instance'>
        ::<strong>isFoldedAtScreenRow</strong>(screenRow)
      </a>
    </span>
    <span class='desc'>
      Returns whether a given screen row if folded
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#joinLine-instance'>
        ::<strong>joinLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Joins the current line with the one below it.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#lineForBufferRow-instance'>
        ::<strong>lineForBufferRow</strong>(row)
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> representing the contents of the line at the given buffer row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#lineLengthForBufferRow-instance'>
        ::<strong>lineLengthForBufferRow</strong>(row)
      </a>
    </span>
    <span class='desc'>
      Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the line length for the given buffer row, exclusive of its line-ending character(s).
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#lowerCase-instance'>
        ::<strong>lowerCase</strong>()
      </a>
    </span>
    <span class='desc'>
      Lowercases all locally selected text.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#markBufferPosition-instance'>
        Number ::<strong>markBufferPosition</strong>(bufferPosition, options)
      </a>
    </span>
    <span class='desc'>
      Constructs a new marker at the given buffer position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#markBufferRange-instance'>
        Number ::<strong>markBufferRange</strong>(args...)
      </a>
    </span>
    <span class='desc'>
      Constructs a new marker at the given buffer range.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#markScreenPosition-instance'>
        Number ::<strong>markScreenPosition</strong>(screenPosition, options)
      </a>
    </span>
    <span class='desc'>
      Constructs a new marker at the given screen position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#markScreenRange-instance'>
        Number ::<strong>markScreenRange</strong>(args...)
      </a>
    </span>
    <span class='desc'>
      Constructs a new marker at the given screen range.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorDown-instance'>
        ::<strong>moveCursorDown</strong>(lineCount)
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor down one row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorLeft-instance'>
        ::<strong>moveCursorLeft</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor left one column.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorRight-instance'>
        ::<strong>moveCursorRight</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor right one column.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToBeginningOfLine-instance'>
        ::<strong>moveCursorToBeginningOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the beginning of the buffer line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToBeginningOfNextWord-instance'>
        ::<strong>moveCursorToBeginningOfNextWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the beginning of the next word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToBeginningOfScreenLine-instance'>
        ::<strong>moveCursorToBeginningOfScreenLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the beginning of the line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToBeginningOfWord-instance'>
        ::<strong>moveCursorToBeginningOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the beginning of the current word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToBottom-instance'>
        ::<strong>moveCursorToBottom</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the bottom of the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToEndOfLine-instance'>
        ::<strong>moveCursorToEndOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the end of the buffer line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToEndOfScreenLine-instance'>
        ::<strong>moveCursorToEndOfScreenLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the end of the line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToEndOfWord-instance'>
        ::<strong>moveCursorToEndOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the end of the current word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToFirstCharacterOfLine-instance'>
        ::<strong>moveCursorToFirstCharacterOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the first non-whitespace character of the line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToNextWordBoundary-instance'>
        ::<strong>moveCursorToNextWordBoundary</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the next word boundary.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToPreviousWordBoundary-instance'>
        ::<strong>moveCursorToPreviousWordBoundary</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the previous word boundary.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorToTop-instance'>
        ::<strong>moveCursorToTop</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to the top of the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveCursorUp-instance'>
        ::<strong>moveCursorUp</strong>(lineCount)
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor up one row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveLineDown-instance'>
        ::<strong>moveLineDown</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves the selected lines down one screen row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#moveLineUp-instance'>
        ::<strong>moveLineUp</strong>()
      </a>
    </span>
    <span class='desc'>
      Moves the selected lines up one screen row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#normalizeTabsInBufferRange-instance'>
        ::<strong>normalizeTabsInBufferRange</strong>(bufferRange)
      </a>
    </span>
    <span class='desc'>
      Converts all indents to the current <a href='Editor.html#getTabText-instance'>::getTabText</a> given a <a href='Range.html'>Range</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#outdentSelectedRows-instance'>
        ::<strong>outdentSelectedRows</strong>()
      </a>
    </span>
    <span class='desc'>
      Outdents the selected rows.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#pasteText-instance'>
        ::<strong>pasteText</strong>(options = {})
      </a>
    </span>
    <span class='desc'>
      Pastes the text in the clipboard.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#removeCursor-instance'>
        ::<strong>removeCursor</strong>(cursor)
      </a>
    </span>
    <span class='desc'>
      Removes and returns a cursor from the <code>Editor</code>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#removeSelection-instance'>
        ::<strong>removeSelection</strong>(selection)
      </a>
    </span>
    <span class='desc'>
      Unselects a given selection.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectAll-instance'>
        ::<strong>selectAll</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text in the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectDown-instance'>
        ::<strong>selectDown</strong>(rowCount)
      </a>
    </span>
    <span class='desc'>
      Selects all the text one position below all local cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectLeft-instance'>
        ::<strong>selectLeft</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects the text one position left of all local cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectLine-instance'>
        ::<strong>selectLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects the current line from each local cursor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectMarker-instance'>
        Range ::<strong>selectMarker</strong>(marker)
      </a>
    </span>
    <span class='desc'>
      Selects the range associated with the given marker if it is valid.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectRight-instance'>
        ::<strong>selectRight</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects the text one position right of all local cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToBeginningOfLine-instance'>
        ::<strong>selectToBeginningOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the beginning of each of their lines.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToBeginningOfNextWord-instance'>
        ::<strong>selectToBeginningOfNextWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the beginning of the next word.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToBeginningOfWord-instance'>
        ::<strong>selectToBeginningOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the beginning of their current words.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToBottom-instance'>
        ::<strong>selectToBottom</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the bottom of the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToEndOfLine-instance'>
        ::<strong>selectToEndOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from each local cursor to the end of their lines.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToEndOfWord-instance'>
        ::<strong>selectToEndOfWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the end of their current words.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToFirstCharacterOfLine-instance'>
        ::<strong>selectToFirstCharacterOfLine</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects to the first non-whitespace character of the line of all local cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToNextWordBoundary-instance'>
        ::<strong>selectToNextWordBoundary</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all text from each local cursor to their next word boundary.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToPreviousWordBoundary-instance'>
        ::<strong>selectToPreviousWordBoundary</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all text from each local cursor to their previous word boundary.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToScreenPosition-instance'>
        ::<strong>selectToScreenPosition</strong>(position)
      </a>
    </span>
    <span class='desc'>
      Selects the text from the current cursor position to a given screen position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectToTop-instance'>
        ::<strong>selectToTop</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects all the text from all local cursors to the top of the buffer.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectUp-instance'>
        ::<strong>selectUp</strong>(rowCount)
      </a>
    </span>
    <span class='desc'>
      Selects all the text one position above all local cursors.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectWord-instance'>
        ::<strong>selectWord</strong>()
      </a>
    </span>
    <span class='desc'>
      Selects the current word of each local cursor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#selectionIntersectsBufferRange-instance'>
        Boolean ::<strong>selectionIntersectsBufferRange</strong>(bufferRange)
      </a>
    </span>
    <span class='desc'>
      Determines if a given buffer range is included in a <a href='Selection.html'>Selection</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setCursorBufferPosition-instance'>
        ::<strong>setCursorBufferPosition</strong>(position, options)
      </a>
    </span>
    <span class='desc'>
      Moves every cursor to a given buffer position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setCursorScreenPosition-instance'>
        ::<strong>setCursorScreenPosition</strong>(position, options)
      </a>
    </span>
    <span class='desc'>
      Moves every local cursor to a given screen position.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setEditorWidthInChars-instance'>
        ::<strong>setEditorWidthInChars</strong>(editorWidthInChars)
      </a>
    </span>
    <span class='desc'>
      Set the number of characters that can be displayed horizontally in the editor.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setIndentationForBufferRow-instance'>
        ::<strong>setIndentationForBufferRow</strong>(bufferRow, newLevel)
      </a>
    </span>
    <span class='desc'>
      Sets the indentation level for the given buffer row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setSelectedBufferRange-instance'>
        ::<strong>setSelectedBufferRange</strong>(bufferRange, options)
      </a>
    </span>
    <span class='desc'>
      Given a buffer range, this removes all previous selections and creates a new selection for it.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setSelectedBufferRanges-instance'>
        ::<strong>setSelectedBufferRanges</strong>(bufferRanges, options = {})
      </a>
    </span>
    <span class='desc'>
      Given an array of buffer ranges, this removes all previous selections and creates new selections for them.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setSoftWrap-instance'>
        ::<strong>setSoftWrap</strong>(softWrap)
      </a>
    </span>
    <span class='desc'>
      Controls whether soft tabs are enabled or not.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setTabLength-instance'>
        ::<strong>setTabLength</strong>(tabLength)
      </a>
    </span>
    <span class='desc'>
      Sets the current tab length.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setText-instance'>
        ::<strong>setText</strong>(text)
      </a>
    </span>
    <span class='desc'>
      Replaces the entire contents of the buffer with the given <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#setVisible-instance'>
        ::<strong>setVisible</strong>(visible)
      </a>
    </span>
    <span class='desc'>
      Controls visiblity based on the given Boolean.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#shouldPromptToSave-instance'>
        ::<strong>shouldPromptToSave</strong>()
      </a>
    </span>
    <span class='desc'>
      Determines if the user should be prompted to save before closing.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#splitSelectionsIntoLines-instance'>
        ::<strong>splitSelectionsIntoLines</strong>()
      </a>
    </span>
    <span class='desc'>
      Split any multi-line selections into one selection per line.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#toggleFoldAtBufferRow-instance'>
        ::<strong>toggleFoldAtBufferRow</strong>(bufferRow)
      </a>
    </span>
    <span class='desc'>
      Folds the given buffer row if it&#39;s not currently folded, and unfolds it otherwise.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#toggleLineCommentsInSelection-instance'>
        Array ::<strong>toggleLineCommentsInSelection</strong>()
      </a>
    </span>
    <span class='desc'>
      Wraps the lines within a selection in comments.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#transact-instance'>
        ::<strong>transact</strong>(fn)
      </a>
    </span>
    <span class='desc'>
      Performs all editor actions from the given function within a single undo step.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#transpose-instance'>
        ::<strong>transpose</strong>()
      </a>
    </span>
    <span class='desc'>
      Transposes the current text selections.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#undo-instance'>
        ::<strong>undo</strong>()
      </a>
    </span>
    <span class='desc'>
      Undoes the last change.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#unfoldCurrentRow-instance'>
        ::<strong>unfoldCurrentRow</strong>()
      </a>
    </span>
    <span class='desc'>
      Unfolds the current row.
    </span>
  </li>
  <li>
    <span class='signature'>
      <a href='Editor.html#upperCase-instance'>
        ::<strong>upperCase</strong>()
      </a>
    </span>
    <span class='desc'>
      Uppercases all locally selected text.
    </span>
  </li>
</ul>
      <h2>Instance Method Details</h2>
      <div class='methods'>
  <div class='method_details'>
    <p class='signature' id='addCursor-instance'>
      ::<strong>addCursor</strong>(marker)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Adds and returns a cursor at the given <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a> position.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addCursorAtBufferPosition-instance'>
      ::<strong>addCursorAtBufferPosition</strong>(bufferPosition)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Adds and returns a cursor at the given buffer position.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addCursorAtScreenPosition-instance'>
      ::<strong>addCursorAtScreenPosition</strong>(screenPosition)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Adds and returns a cursor at the given screen position.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addSelection-instance'>
      Selection ::<strong>addSelection</strong>(marker, options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Creates a new selection at the given marker.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(DisplayBufferMarker)</span>
      <span class='name'>marker</span>
      &mdash;
      <span class='desc'>The <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a> to highlight</span>
    </li>
    <li>
      <span class='type'>(Object)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> that pertains to the <a href='Selection.html'>Selection</a> constructor.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Selection.html'>Selection</a></tt>)
      &mdash;
      <span class='desc'>Returns the new <a href='Selection.html'>Selection</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addSelectionAbove-instance'>
      ::<strong>addSelectionAbove</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves each local selection up one row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addSelectionBelow-instance'>
      ::<strong>addSelectionBelow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves each local selection down one row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='addSelectionForBufferRange-instance'>
      Selection ::<strong>addSelectionForBufferRange</strong>(bufferRange, options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Given a buffer range, this adds a new selection for it.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>bufferRange</span>
      &mdash;
      <span class='desc'>A <a href='Range.html'>Range</a> in the buffer.</span>
    </li>
    <li>
      <span class='type'>(Object)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An options <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> for <a href='Editor.html#markBufferRange-instance'>::markBufferRange</a>.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Selection.html'>Selection</a></tt>)
      &mdash;
      <span class='desc'>Returns the new <a href='Selection.html'>Selection</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='autoIndentSelectedRows-instance'>
      ::<strong>autoIndentSelectedRows</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Indents selected lines based on grammar&#39;s suggested indent levels.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='backspace-instance'>
      ::<strong>backspace</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes the character found behind the current cursor position.</p><p>FIXME: Does this remove content from all cursors or the last one? </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='backspaceToBeginningOfLine-instance'>
      ::<strong>backspaceToBeginningOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes all characters from the current cursor position to the start of the line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='backspaceToBeginningOfWord-instance'>
      ::<strong>backspaceToBeginningOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes all characters from the current cursor position until the beginging of the current word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='bufferRangeForBufferRow-instance'>
      Range ::<strong>bufferRangeForBufferRow</strong>(row, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the range for the given buffer row.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>row</span>
      &mdash;
      <span class='desc'>A row <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a>.</span>
    </li>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An options hash with an <code>includeNewline</code> key.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Range.html'>Range</a></tt>)
      &mdash;
      <span class='desc'>Returns a <a href='Range.html'>Range</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='bufferRangeForScopeAtCursor-instance'>
      ::<strong>bufferRangeForScopeAtCursor</strong>(selector)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>?</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='clearSelections-instance'>
      ::<strong>clearSelections</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Clears every selection.</p><p>TODO: Is this still to be done? </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='clipBufferPosition-instance'>
      Point ::<strong>clipBufferPosition</strong>(bufferPosition)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Given a position, this clips it to a real position.</p><p>For example, if <code>bufferPosition</code>&#39;s row exceeds the row count of the buffer,
or if its column goes beyond a line&#39;s length, this &quot;sanitizes&quot; the value
to a real position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Point)</span>
      <span class='name'>bufferPosition</span>
      &mdash;
      <span class='desc'>The <a href='Point.html'>Point</a> to clip.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Point.html'>Point</a></tt>)
      &mdash;
      <span class='desc'>Returns the new, clipped <a href='Point.html'>Point</a>. Note that this could be the same as
`bufferPosition` if no clipping was performed.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='clipBufferRange-instance'>
      Range ::<strong>clipBufferRange</strong>(range)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Given a range, this clips it to a real range.</p><p>For example, if <code>range</code>&#39;s row exceeds the row count of the buffer,
or if its column goes beyond a line&#39;s length, this &quot;sanitizes&quot; the value
to a real range.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>range</span>
      &mdash;
      <span class='desc'>The <a href='Range.html'>Range</a> to clip.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Range.html'>Range</a></tt>)
      &mdash;
      <span class='desc'>Returns the new, clipped <a href='Range.html'>Range</a>. Note that this could be the same as
`range` if no clipping was performed.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='copySelectedText-instance'>
      ::<strong>copySelectedText</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Copies the selected text.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='cutSelectedText-instance'>
      ::<strong>cutSelectedText</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Cuts the selected text.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='cutToEndOfLine-instance'>
      ::<strong>cutToEndOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Copies and removes all characters from cursor to the end of the line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='delete-instance'>
      ::<strong>delete</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes the current selection or the next character after the cursor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='deleteLine-instance'>
      ::<strong>deleteLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Deletes the entire line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='deleteToEndOfWord-instance'>
      ::<strong>deleteToEndOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes all characters from the cursor until the end of the current word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='destroyFoldsIntersectingBufferRange-instance'>
      ::<strong>destroyFoldsIntersectingBufferRange</strong>(bufferRange)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes any <a href='http://atom.io/docs/api/v0.60.0/api/classes/Fold.html'>Fold</a>s found that intersect the given buffer row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='destroyMarker-instance'>
      ::<strong>destroyMarker</strong>(id)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes the marker with the given id.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>id</span>
      &mdash;
      <span class='desc'>The <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> of the ID to remove</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='duplicateLine-instance'>
      ::<strong>duplicateLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Duplicates the current line.</p><p>If more than one cursor is present, only the most recently added one is
duplicated. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='findMarkers-instance'>
      ::<strong>findMarkers</strong>(attributes)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns all <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a>s that match all given attributes.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='foldCurrentRow-instance'>
      ::<strong>foldCurrentRow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Folds the current row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='foldSelection-instance'>
      ::<strong>foldSelection</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Folds all selections.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCurrentParagraphBufferRange-instance'>
      ::<strong>getCurrentParagraphBufferRange</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the text of the most recent local cursor&#39;s surrounding paragraph.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursor-instance'>
      ::<strong>getCursor</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the most recently added <a href='Cursor.html'>Cursor</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursorBufferPosition-instance'>
      Array ::<strong>getCursorBufferPosition</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets the current buffer position of the most recently added <a href='Cursor.html'>Cursor</a>.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of two numbers: the buffer row, and the buffer column.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursorScopes-instance'>
      Array ::<strong>getCursorScopes</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Retrieves the grammar&#39;s token scopes for the line with the most recently added cursor.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>s.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursorScreenPosition-instance'>
      Array ::<strong>getCursorScreenPosition</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets the current screen position of the most recently added local <a href='Cursor.html'>Cursor</a>.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of two numbers: the screen row, and the screen column.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursorScreenRow-instance'>
      Number ::<strong>getCursorScreenRow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets the screen row of the most recently added local <a href='Cursor.html'>Cursor</a>.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns the screen row <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getCursors-instance'>
      ::<strong>getCursors</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns an Array of all local <a href='Cursor.html'>Cursor</a>s.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getLastBufferRow-instance'>
      ::<strong>getLastBufferRow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the last zero-indexed buffer row number of the editor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getLastSelection-instance'>
      ::<strong>getLastSelection</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the most recently added <a href='Selection.html'>Selection</a></p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getLastSelectionInBuffer-instance'>
      Selection ::<strong>getLastSelectionInBuffer</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets the very last local selection in the buffer.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Selection.html'>Selection</a></tt>)
      &mdash;
      <span class='desc'>Returns a <a href='Selection.html'>Selection</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getLineCount-instance'>
      ::<strong>getLineCount</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the number of lines in the editor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getLongTitle-instance'>
      String ::<strong>getLongTitle</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Retrieves the filename and path of the open file.</p><p>It has the follows the following format, <code>&lt;filename&gt; - &lt;directory&gt;</code>. If the
file is brand new, the title is <code>untitled</code>.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>String</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getMarker-instance'>
      ::<strong>getMarker</strong>(id)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a valid <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a> object for the given id.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getMarkerCount-instance'>
      Number ::<strong>getMarkerCount</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Get the number of markers in this editor&#39;s buffer.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getMarkers-instance'>
      ::<strong>getMarkers</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns all <a href='http://atom.io/docs/api/v0.60.0/api/classes/DisplayBufferMarker.html'>DisplayBufferMarker</a>s.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelectedBufferRange-instance'>
      ::<strong>getSelectedBufferRange</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the buffer <a href='Range.html'>Range</a> of the most recently added local <a href='Selection.html'>Selection</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelectedBufferRanges-instance'>
      ::<strong>getSelectedBufferRanges</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets an Array of buffer <a href='Range.html'>Range</a>s of all the local <a href='Selection.html'>Selection</a>s.</p><p>Sorted by their position in the file itself. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelectedScreenRange-instance'>
      ::<strong>getSelectedScreenRange</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the screen <a href='Range.html'>Range</a> of the most recently added local <a href='Selection.html'>Selection</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelectedText-instance'>
      ::<strong>getSelectedText</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the selected text of the most recently added local <a href='Selection.html'>Selection</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelection-instance'>
      ::<strong>getSelection</strong>(index)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the selection at the specified index.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelections-instance'>
      Array ::<strong>getSelections</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets all local selections.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of <a href='Selection.html'>Selection</a>s.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSelectionsOrderedByBufferPosition-instance'>
      Array ::<strong>getSelectionsOrderedByBufferPosition</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Gets all local selections, ordered by their position in the buffer.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of <a href='Selection.html'>Selection</a>s.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSoftWrap-instance'>
      ::<strong>getSoftWrap</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns whether soft wrap is enabled or not.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getSoftWrapColumn-instance'>
      ::<strong>getSoftWrapColumn</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Sets the column at which columsn will soft wrap</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getTabLength-instance'>
      ::<strong>getTabLength</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the current tab length.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getTabText-instance'>
      ::<strong>getTabText</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns that String used to indicate a tab.</p><p>If soft tabs are enabled, this is a space (<code>&quot; &quot;</code>) times the <a href='Editor.html#getTabLength-instance'>::getTabLength</a> value.
Otherwise, it&#39;s a tab (<code>\t</code>). </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getText-instance'>
      ::<strong>getText</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> representing the entire contents of the editor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getTextInBufferRange-instance'>
      ::<strong>getTextInBufferRange</strong>(range)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the text within a given a buffer <a href='Range.html'>Range</a></p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getTextInRange-instance'>
      ::<strong>getTextInRange</strong>(range)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> of text in the given <a href='Range.html'>Range</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getTitle-instance'>
      String ::<strong>getTitle</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Retrieves the filename of the open file.</p><p>This is <code>&#39;untitled&#39;</code> if the file is new and not saved to the disk.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>String</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getUri-instance'>
      ::<strong>getUri</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Retrieves the current buffer&#39;s URI.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='getWordUnderCursor-instance'>
      ::<strong>getWordUnderCursor</strong>(options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the word under the most recently added local <a href='Cursor.html'>Cursor</a>.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An object with properties based on <a href='Cursor.html#getBeginningOfCurrentWordBufferPosition-instance'>Cursor::getBeginningOfCurrentWordBufferPosition</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='hasMultipleCursors-instance'>
      ::<strong>hasMultipleCursors</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Determines if there are multiple cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='indent-instance'>
      ::<strong>indent</strong>(options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Indents the current line.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>A set of options equivalent to <a href='Selection.html#indent-instance'>Selection::indent</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='indentLevelForLine-instance'>
      Number ::<strong>indentLevelForLine</strong>(line)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the indentation level of the given line of text.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(String)</span>
      <span class='name'>line</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> in the current buffer.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> or 0 if the text isn&#39;t found within the buffer.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='indentSelectedRows-instance'>
      ::<strong>indentSelectedRows</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Indents the currently selected rows.</p><p>FIXME: what does this do if no selection? </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='indentationForBufferRow-instance'>
      ::<strong>indentationForBufferRow</strong>(bufferRow)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns the indentation level of the given a buffer row</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>bufferRow</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> indicating the buffer row.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='insertNewline-instance'>
      ::<strong>insertNewline</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Inserts a new line at the current cursor positions.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='insertNewlineAbove-instance'>
      ::<strong>insertNewlineAbove</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Inserts a new line above the current cursor positions.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='insertNewlineBelow-instance'>
      ::<strong>insertNewlineBelow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Inserts a new line below the current cursor positions.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='insertText-instance'>
      ::<strong>insertText</strong>(text, options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Inserts text at the current cursor positions</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(String)</span>
      <span class='name'>text</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> representing the text to insert.</span>
    </li>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>A set of options equivalent to <a href='Selection.html#insertText-instance'>Selection::insertText</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='isBufferRowCommented-instance'>
      ::<strong>isBufferRowCommented</strong>(bufferRow)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Determine if the given row is entirely a comment</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='isEqual-instance'>
      Boolean ::<strong>isEqual</strong>(other)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Compares two <code>Editor</code>s to determine equality.</p><p>Equality is based on the condition that:</p><ul>
<li>the two <a href='TextBuffer.html'>TextBuffer</a>s are the same</li>
<li>the two <code>scrollTop</code> and <code>scrollLeft</code> property are the same</li>
<li>the two <a href='Cursor.html'>Cursor</a> screen positions are the same</li>
</ul>

</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Boolean</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean'>Boolean</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='isFoldedAtBufferRow-instance'>
      ::<strong>isFoldedAtBufferRow</strong>(bufferRow)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns whether a given buffer row if folded</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='isFoldedAtCursorRow-instance'>
      ::<strong>isFoldedAtCursorRow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns whether the current row is folded.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='isFoldedAtScreenRow-instance'>
      ::<strong>isFoldedAtScreenRow</strong>(screenRow)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns whether a given screen row if folded</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='joinLine-instance'>
      ::<strong>joinLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Joins the current line with the one below it.</p><p>FIXME: Needs more clarity.</p><p>Multiple cursors are considered equally. If there&#39;s a selection in the editor,
all the lines are joined together. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='lineForBufferRow-instance'>
      ::<strong>lineForBufferRow</strong>(row)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a> representing the contents of the line at the given buffer row.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>row</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing a zero-indexed buffer row.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='lineLengthForBufferRow-instance'>
      ::<strong>lineLengthForBufferRow</strong>(row)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the line length for the given buffer row, exclusive of its line-ending character(s).</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>row</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> indicating the buffer row.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='lowerCase-instance'>
      ::<strong>lowerCase</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Lowercases all locally selected text.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='markBufferPosition-instance'>
      Number ::<strong>markBufferPosition</strong>(bufferPosition, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Constructs a new marker at the given buffer position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>range</span>
      &mdash;
      <span class='desc'>The marker <a href='Range.html'>Range</a> (representing the distance between the head and tail)</span>
    </li>
    <li>
      <span class='type'>(Marker)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>Options to pass to the <a href='Marker.html'>Marker</a> constructor</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the new marker&#39;s ID.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='markBufferRange-instance'>
      Number ::<strong>markBufferRange</strong>(args...)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Constructs a new marker at the given buffer range.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>range</span>
      &mdash;
      <span class='desc'>The marker <a href='Range.html'>Range</a> (representing the distance between the head and tail)</span>
    </li>
    <li>
      <span class='type'>(Marker)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>Options to pass to the <a href='Marker.html'>Marker</a> constructor</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the new marker&#39;s ID.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='markScreenPosition-instance'>
      Number ::<strong>markScreenPosition</strong>(screenPosition, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Constructs a new marker at the given screen position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>range</span>
      &mdash;
      <span class='desc'>The marker <a href='Range.html'>Range</a> (representing the distance between the head and tail)</span>
    </li>
    <li>
      <span class='type'>(Marker)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>Options to pass to the <a href='Marker.html'>Marker</a> constructor</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the new marker&#39;s ID.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='markScreenRange-instance'>
      Number ::<strong>markScreenRange</strong>(args...)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Constructs a new marker at the given screen range.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>range</span>
      &mdash;
      <span class='desc'>The marker <a href='Range.html'>Range</a> (representing the distance between the head and tail)</span>
    </li>
    <li>
      <span class='type'>(Marker)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>Options to pass to the <a href='Marker.html'>Marker</a> constructor</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Number</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> representing the new marker&#39;s ID.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorDown-instance'>
      ::<strong>moveCursorDown</strong>(lineCount)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor down one row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorLeft-instance'>
      ::<strong>moveCursorLeft</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor left one column.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorRight-instance'>
      ::<strong>moveCursorRight</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor right one column.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToBeginningOfLine-instance'>
      ::<strong>moveCursorToBeginningOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the beginning of the buffer line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToBeginningOfNextWord-instance'>
      ::<strong>moveCursorToBeginningOfNextWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the beginning of the next word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToBeginningOfScreenLine-instance'>
      ::<strong>moveCursorToBeginningOfScreenLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the beginning of the line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToBeginningOfWord-instance'>
      ::<strong>moveCursorToBeginningOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the beginning of the current word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToBottom-instance'>
      ::<strong>moveCursorToBottom</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the bottom of the buffer.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToEndOfLine-instance'>
      ::<strong>moveCursorToEndOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the end of the buffer line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToEndOfScreenLine-instance'>
      ::<strong>moveCursorToEndOfScreenLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the end of the line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToEndOfWord-instance'>
      ::<strong>moveCursorToEndOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the end of the current word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToFirstCharacterOfLine-instance'>
      ::<strong>moveCursorToFirstCharacterOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the first non-whitespace character of the line.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToNextWordBoundary-instance'>
      ::<strong>moveCursorToNextWordBoundary</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the next word boundary.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToPreviousWordBoundary-instance'>
      ::<strong>moveCursorToPreviousWordBoundary</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the previous word boundary.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorToTop-instance'>
      ::<strong>moveCursorToTop</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to the top of the buffer.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveCursorUp-instance'>
      ::<strong>moveCursorUp</strong>(lineCount)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor up one row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveLineDown-instance'>
      ::<strong>moveLineDown</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves the selected lines down one screen row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='moveLineUp-instance'>
      ::<strong>moveLineUp</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves the selected lines up one screen row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='normalizeTabsInBufferRange-instance'>
      ::<strong>normalizeTabsInBufferRange</strong>(bufferRange)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Converts all indents to the current <a href='Editor.html#getTabText-instance'>::getTabText</a> given a <a href='Range.html'>Range</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='outdentSelectedRows-instance'>
      ::<strong>outdentSelectedRows</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Outdents the selected rows.</p><p>FIXME: what does this do if no selection? </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='pasteText-instance'>
      ::<strong>pasteText</strong>(options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Pastes the text in the clipboard.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>A set of options equivalent to <a href='Selection.html#insertText-instance'>Selection::insertText</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='removeCursor-instance'>
      ::<strong>removeCursor</strong>(cursor)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Removes and returns a cursor from the <code>Editor</code>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='removeSelection-instance'>
      ::<strong>removeSelection</strong>(selection)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Unselects a given selection.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Selection)</span>
      <span class='name'>selection</span>
      &mdash;
      <span class='desc'>The <a href='Selection.html'>Selection</a> to remove.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectAll-instance'>
      ::<strong>selectAll</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text in the buffer.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectDown-instance'>
      ::<strong>selectDown</strong>(rowCount)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text one position below all local cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectLeft-instance'>
      ::<strong>selectLeft</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the text one position left of all local cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectLine-instance'>
      ::<strong>selectLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the current line from each local cursor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectMarker-instance'>
      Range ::<strong>selectMarker</strong>(marker)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the range associated with the given marker if it is valid.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt><a href='Range.html'>Range</a></tt>)
      &mdash;
      <span class='desc'>Returns the selected <a href='Range.html'>Range</a> or a falsy value if the marker is invalid.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectRight-instance'>
      ::<strong>selectRight</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the text one position right of all local cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToBeginningOfLine-instance'>
      ::<strong>selectToBeginningOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the beginning of each of their lines.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToBeginningOfNextWord-instance'>
      ::<strong>selectToBeginningOfNextWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the beginning of the next word.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToBeginningOfWord-instance'>
      ::<strong>selectToBeginningOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the beginning of their current words.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToBottom-instance'>
      ::<strong>selectToBottom</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the bottom of the buffer.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToEndOfLine-instance'>
      ::<strong>selectToEndOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from each local cursor to the end of their lines.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToEndOfWord-instance'>
      ::<strong>selectToEndOfWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the end of their current words.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToFirstCharacterOfLine-instance'>
      ::<strong>selectToFirstCharacterOfLine</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects to the first non-whitespace character of the line of all local cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToNextWordBoundary-instance'>
      ::<strong>selectToNextWordBoundary</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all text from each local cursor to their next word boundary.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToPreviousWordBoundary-instance'>
      ::<strong>selectToPreviousWordBoundary</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all text from each local cursor to their previous word boundary.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToScreenPosition-instance'>
      ::<strong>selectToScreenPosition</strong>(position)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the text from the current cursor position to a given screen position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Point)</span>
      <span class='name'>position</span>
      &mdash;
      <span class='desc'>An instance of <a href='Point.html'>Point</a>, with a given <code>row</code> and <code>column</code>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectToTop-instance'>
      ::<strong>selectToTop</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text from all local cursors to the top of the buffer.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectUp-instance'>
      ::<strong>selectUp</strong>(rowCount)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects all the text one position above all local cursors.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectWord-instance'>
      ::<strong>selectWord</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Selects the current word of each local cursor.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='selectionIntersectsBufferRange-instance'>
      Boolean ::<strong>selectionIntersectsBufferRange</strong>(bufferRange)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Determines if a given buffer range is included in a <a href='Selection.html'>Selection</a>.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>bufferRange</span>
      &mdash;
      <span class='desc'>The <a href='Range.html'>Range</a> you&#39;re checking against.</span>
    </li>
  </ul>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Boolean</tt>)
      &mdash;
      <span class='desc'>Returns a <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean'>Boolean</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setCursorBufferPosition-instance'>
      ::<strong>setCursorBufferPosition</strong>(position, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every cursor to a given buffer position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Array)</span>
      <span class='name'>position</span>
      &mdash;
      <span class='desc'>An <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of two numbers: the buffer row, and the buffer column.</span>
    </li>
    <li>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An object with properties based on <a href='Cursor.html#setBufferPosition-instance'>Cursor::setBufferPosition</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setCursorScreenPosition-instance'>
      ::<strong>setCursorScreenPosition</strong>(position, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Moves every local cursor to a given screen position.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Array)</span>
      <span class='name'>position</span>
      &mdash;
      <span class='desc'>An <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of two numbers: the screen row, and the screen column.</span>
    </li>
    <li>
      <span class='type'>(Object)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> with properties based on <a href='Cursor.html#setScreenPosition-instance'>Cursor::setScreenPosition</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setEditorWidthInChars-instance'>
      ::<strong>setEditorWidthInChars</strong>(editorWidthInChars)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Set the number of characters that can be displayed horizontally in the editor.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>editorWidthInChars</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> of characters</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setIndentationForBufferRow-instance'>
      ::<strong>setIndentationForBufferRow</strong>(bufferRow, newLevel)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Sets the indentation level for the given buffer row.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>bufferRow</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> indicating the buffer row.</span>
    </li>
    <li>
      <span class='type'>(Number)</span>
      <span class='name'>newLevel</span>
      &mdash;
      <span class='desc'>A <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number'>Number</a> indicating the new indentation level.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setSelectedBufferRange-instance'>
      ::<strong>setSelectedBufferRange</strong>(bufferRange, options)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Given a buffer range, this removes all previous selections and creates a new selection for it.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>bufferRange</span>
      &mdash;
      <span class='desc'>A <a href='Range.html'>Range</a> in the buffer.</span>
    </li>
    <li>
      <span class='type'>(Object)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An options <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> for <a href='Editor.html#setSelectedBufferRanges-instance'>::setSelectedBufferRanges</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setSelectedBufferRanges-instance'>
      ::<strong>setSelectedBufferRanges</strong>(bufferRanges, options = {})
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Given an array of buffer ranges, this removes all previous selections and creates new selections for them.</p>
</div>
<div class='tags'>
  <h3>Parameters:</h3>
  <ul class='param'>
    <li>
      <span class='type'>(Range)</span>
      <span class='name'>bufferRange</span>
      &mdash;
      <span class='desc'>A <a href='Range.html'>Range</a> in the buffer.</span>
    </li>
    <li>
      <span class='type'>(Object)</span>
      <span class='name'>options</span>
      &mdash;
      <span class='desc'>An options <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object'>Object</a> for <a href='Editor.html#setSelectedBufferRanges-instance'>::setSelectedBufferRanges</a>.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setSoftWrap-instance'>
      ::<strong>setSoftWrap</strong>(softWrap)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Controls whether soft tabs are enabled or not.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setTabLength-instance'>
      ::<strong>setTabLength</strong>(tabLength)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Sets the current tab length.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setText-instance'>
      ::<strong>setText</strong>(text)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Replaces the entire contents of the buffer with the given <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String'>String</a>.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='setVisible-instance'>
      ::<strong>setVisible</strong>(visible)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Controls visiblity based on the given Boolean.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='shouldPromptToSave-instance'>
      ::<strong>shouldPromptToSave</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Determines if the user should be prompted to save before closing.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='splitSelectionsIntoLines-instance'>
      ::<strong>splitSelectionsIntoLines</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Split any multi-line selections into one selection per line.</p><p>This methods break apart all multi-line selections to create multiple
single-line selections that cumulatively cover the same original area. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='toggleFoldAtBufferRow-instance'>
      ::<strong>toggleFoldAtBufferRow</strong>(bufferRow)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Folds the given buffer row if it&#39;s not currently folded, and unfolds it otherwise.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='toggleLineCommentsInSelection-instance'>
      Array ::<strong>toggleLineCommentsInSelection</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Wraps the lines within a selection in comments.</p><p>If the language doesn&#39;t have comments, nothing happens.</p>
</div>
<div class='tags'>
  <h3>Returns:</h3>
  <ul class='return'>
    <li>
      <span class='type'></span>
      (<tt>Array</tt>)
      &mdash;
      <span class='desc'>Returns an <a href='https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array'>Array</a> of the commented <a href='Range.html'>Range</a>s.</span>
    </li>
  </ul>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='transact-instance'>
      ::<strong>transact</strong>(fn)
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Performs all editor actions from the given function within a single undo step.</p><p>Useful for implementing complex operations while still ensuring that the
undo stack remains relevant. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='transpose-instance'>
      ::<strong>transpose</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Transposes the current text selections.</p><p>The text in each selection is reversed so <code>abcd</code> would become <code>dcba</code>. The
characters before and after the cursor are swapped when the selection is
empty so <code>x|y</code> would become <code>y|x</code> where <code>|</code> is the cursor location. </p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='undo-instance'>
      ::<strong>undo</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Undoes the last change.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='unfoldCurrentRow-instance'>
      ::<strong>unfoldCurrentRow</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Unfolds the current row.</p>
</div>
<div class='tags'>
</div>
  </div>
  <div class='method_details'>
    <p class='signature' id='upperCase-instance'>
      ::<strong>upperCase</strong>()
      <a class='gh-link' href='https://github.com/atom/atom'>Source</a>
    </p>
    <div class='docstring'>
  <p>Uppercases all locally selected text.</p>
</div>
<div class='tags'>
</div>
  </div>
</div>
    </div>
    <div id='footer'>
  Generated on
  Wed Feb 26 2014 17:43:10 GMT-0800 (PST)
  by
  <a href='https://github.com/gjtorikian/biscotto' title='TomDoc-CoffeeScript API documentation generator'>Biscotto</a>
  v2.1.0
  (Node.js v0.10.21).
  &#10034;
  Press Ctrl-h to see the keyboard shortcuts
</div>
  </body>
</html>